package flex.cc.nursing.dao;

import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import flex.cc.nursing.dto.entity.NursingSynStatusEntity;

import java.util.Map;


/**
*
* @author R
* 2022年03月22日  14:04:52
* @desc 护理预约单状态同步数据层
*/
@Mapper
@Repository
public interface NursingSynStatusDao extends BaseMapper<NursingSynStatusEntity>{

	/**
	 * @author R
	 * 2022年03月22日  14:04:52
	 * @desc 插入护理预约单状态同步数据
	 */
	int insert(NursingSynStatusEntity nursingSynStatusEntity);

	/**
	 * @description 根据查询参数，获取护理单状态
	 * @param params 查询条件
	 * @return
	 * @author wkangle
	 * @time 2022/03/23 0023 13:45
	 * @exception/throws
	*/
	NursingSynStatusEntity queryOneByParams(Map<String, Object> params);

	/**
	 * @author R
	 * 2022年03月31日  10:04:52
	 * @desc 更新护理预约单状态同步数据
	 */
	int updateByParams(Map<String, Object> params);
}
